using Domian.Core.Ipml;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.IO;

namespace TestCore
{
    [TestClass]
    public class UnitTest1
    {
        [TestMethod]
        public void TestMethod1()
        {
            using (FileStream fs = new FileStream(@"G:\\image\\test.png", FileMode.Open))
            {
                int fsLen = (int)fs.Length;
                byte[] heByte = new byte[fsLen];
                int r = fs.Read(heByte, 0, heByte.Length);
                string myStr = Convert.ToBase64String(heByte).Replace("+", "%2B");
              
            }
        }
    }
}
